package com.jichangxiu.system.entity.bo;

import com.jichangxiu.system.entity.po.SysMenu;
import com.jichangxiu.system.entity.vo.SysMenuVo;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * SysMenuBo:
 *
 * @author JiChangXiu
 * @create 2024-06-28 13:44:29
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@AutoMappers({
        @AutoMapper(target = SysMenu.class, reverseConvertGenerate = false),
        @AutoMapper(target = SysMenuVo.class, reverseConvertGenerate = false)
})
public class SysMenuBo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private String id;

    /**
     * 编码
     */
    private String no;

    /**
     * 标识
     */
    private String code;

    /**
     * 名称
     */
    private String name;

    /**
     * 图标
     */
    private String icon;

    /**
     * 路径
     */
    private String path;

    /**
     * 分类
     */
    private String type;

    /**
     * 类型
     */
    private String category;

    /**
     * 组件
     */
    private String component;

    /**
     * 父ID
     */
    private String parentId;

    /**
     * 菜单排序
     */
    private BigDecimal sort;

    /**
     * 是否隐藏
     */
    private Boolean hidden;

    /**
     * 是否启用
     */
    private Boolean enabled;

    /**
     * 启用者
     */
    private String enabledBy;

    /**
     * 启用时间
     */
    private Date enabledTime;

}